<lv-datatable
  [lvData]="data"
  #lvTable
  [lvPaginator]="page"
  lvSelectionMode="multiple"
  [lvSelection]="selection"
  (lvSelectionChange)="selectionChange()"
>
  <thead>
    <tr>
      <th width="40px"></th>
      <th lvCellKey="name">Name</th>
      <th lvCellKey="age">Age</th>
      <th lvCellKey="random">Random</th>
    </tr>
  </thead>
  <tbody>
    <ng-container *ngFor="let item of lvTable.renderData">
      <tr>
        <td
          lvShowCheckbox
          [lvRowData]="item"
          [lvDisabled]="item.disabled"
          [lvCheckboxTip]="item.checkboxTip"
        ></td>
        <td>{{ item.name }}</td>
        <td>{{ item.age }}</td>
        <td>{{ item.random }}</td>
      </tr>
    </ng-container>
  </tbody>
</lv-datatable>
<lv-paginator #page lvPageSize="7" [lvPageSizeOptions]="[5, 10]"></lv-paginator>
